package com.hhit.zhgd.dao

import com.baomidou.mybatisplus.core.mapper.BaseMapper
import com.baomidou.mybatisplus.extension.plugins.pagination.Page
import com.hhit.zhgd.domain.entity.Admin
import org.apache.ibatis.annotations.Mapper
import org.apache.ibatis.annotations.Param

@Mapper
interface AdminMapper:BaseMapper<Admin> {
    fun getList(page: Page<*>, @Param("params") hashMap: HashMap<String, *>):Page<HashMap<String,*>>
    fun getInfo(hashMap: HashMap<String, *>):HashMap<String,*>
    fun getRoleAdminAll(roleId:Int):List<HashMap<String,*>>
}